package com.itheima.object;

public class Test {
    public static void main(String[] args) {
        Star s1=new Star();
        s1.name="Sun";
        s1.age=10;
        s1.height=1.5;
        s1.weight=2.5;
        System.out.println(s1.name);
        System.out.println(s1.age);
        System.out.println(s1.height);
        System.out.println(s1.weight);
        Students s2=new Students("zhangsan",100,100,100);
        s2.printscore();
    }
}
